<script setup>
import router from "@/router";
import {reactive} from "vue";
import img1 from '@/assets/images/flower-lbt4.jpg';
import img2 from '@/assets/images/flower-lbt2.jpg';
import img3 from '@/assets/images/flower-lbt3.jpg';

const data = reactive({
  images:[img1,img2,img3]
})
</script>

<template>
  <div>
    <el-carousel height="400px">
      <a href="/Buy">
      <el-carousel-item v-for="item in data.images" :key="item">
        <img :src="item" alt="" style="width: 100%">
      </el-carousel-item></a>
    </el-carousel>
  </div>
</template>

<style scoped>
.el-carousel_item img{
  color: #475669;
  opacity: 0.5;
  line-height: 150px;
  margin: 0;
  text-align: center;
}
</style>